﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace FactoryWebApplication.Models
{ /// <summary>
  /// 电池
  /// </summary>
    public class Battery
    {
        private string code;
        /// <summary>
        /// 电池编码
        /// </summary>
        public string Code { get => code; set => code = value; }

        private string type;
        /// <summary>
        /// 电池类型
        /// </summary>
        public string Type { get => type; set => type = value; }

        private string capacity;
        /// <summary>
        /// 电池容量
        /// </summary>
        public string Capacity { get => capacity; set => capacity = value; }

        private string size;
        /// <summary>
        /// 电池尺寸
        /// </summary>
        public string Size { get => size; set => size = value; }

        private int temperature;
        /// <summary>
        /// 是否带温控
        /// </summary>
        public int Temperature { get => temperature; set => temperature = value; }

        private int protection;
        /// <summary>
        /// 是否带保护
        /// </summary>
        public int Protection { get => protection; set => protection = value; }

    }
}
